/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sessionbean;

import java.util.List;
import javax.ejb.Local;
import supportlearning.entities.StaffProfile;

/**
 *
 * @author Huy
 */
@Local
public interface StaffProfileFacadeLocal {

    void create(StaffProfile staffProfile);

    void edit(StaffProfile staffProfile);

    void remove(StaffProfile staffProfile);

    StaffProfile find(Object id);

    List<StaffProfile> findAll();

    List<StaffProfile> findRange(int[] range);

    public StaffProfile findStaffByID(String id);

    int count();
     public List<StaffProfile> findbysemid(int id);
}
